<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;

$this->title = 'Unix时间戳转换';
$this->params['breadcrumbs'][] = $this->title;
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="http://jic.betools.vip/tools/css/unixtime.css">
</head>
<body>
    <div class="unixtime">
       <p>
           <span>
               时间戳
           </span>

           <input class="in_unixtime" type="text">

           <select name="unix_time_company" class="unix_time_company">
               <option value="1">秒</option>
               <option value="2">毫秒</option>
           </select>

           <button name="unix_time_btn" class="unix_time_btn" id="unix_time_btn">
               转换
           </button>

           <input class="no_unixtime" type="text" placeholder="北京时间">
       </p>


        <p>
           <span>
               时间
           </span>

            <input class="in_date" type="text">

            <button name="date_btn" class="date_btn" id="date_btn">
                转换
            </button>

            <input class="no_date" type="text">

            <select name="date_company" class="date_company">
                <option value="1">秒</option>
                <option value="2">毫秒</option>
            </select>
        </p>

    </div>

    <div>

    </div>
</body>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.0/jquery.js"></script>
<script src="http://jic.betools.vip/tools/js/unixtime.js"></script>
<script>
;
</script>
</html>
